package com.mjf.cjt.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 * desc
 * </p>
 *
 * @author chenshoumeng
 * @date 2025/4/24 10:35
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TFSalesOrderResVo {

//    @ApiModelProperty(value = "销货单ID")
    private Long id;
    // 明细ID
    private Long itemId;
//    @ApiModelProperty(value = "单据编号")
    private String orderNumber;

//    @ApiModelProperty(value = "单据日期")
    private LocalDate orderDate;

    /** 费用编码 */
    private String costCode;

    /** 费用名称 */
    private String costName;
    // 销售返点比例
    private BigDecimal fax;
    //    @ApiModelProperty(value = "客户ID")
    private Long customerId;

//    @ApiModelProperty(value = "客户编码")
    private String customerCode;

//    @ApiModelProperty(value = "客户名称")
    private String customerName;
    // 项目编码
    private String projectCode;
    // 项目名称
    private String projectName;
    private String materialCode; // 物料编码
    private String materialName; // 物料名称
    private String pubuserdefnvc2; // 地址
    private BigDecimal quantity; // 数量
//    @ApiModelProperty("销售金额")
    private BigDecimal salesAmount;

//    @ApiModelProperty("销售回款金额")
    private BigDecimal receivedAmount;

//    @ApiModelProperty("返利比例（%）")
    private BigDecimal rebateRate;

//    @ApiModelProperty("已返利金额")
    private BigDecimal rebatedAmount;
    // 应支付返利
    private BigDecimal isRebatedAmount;
    // 支付返利
    private BigDecimal rdttSalRebate;
    // 派车数量
    private BigDecimal pcNum;

//    @ApiModelProperty("待支返利金额")
    private BigDecimal pendingRebateAmount;
}
